<?php
namespace app\common\model;

class SeedFirstLog extends \think\Model {
	protected $table = 'farm_seed_first_log';

	public function getTypeAttr($value) {
		$status = [
			1 => '购买种子',
			2 => '播种'
		];

		return $status[$value];
	}
}
?>